//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01A
TN_Widget.CreateTable([['Nate Bargatze','Colonial Life Arena','Columbia, SC','Thursday','8/14/2025','7:00 PM','6858788','Nate-Bargatze-8-14-2025'],['Stevie Nicks','Colonial Life Arena','Columbia, SC','Wednesday','8/27/2025','7:00 PM','7092274','Stevie-Nicks-8-27-2025'],['Adam Sandler','Colonial Life Arena','Columbia, SC','Wednesday','9/10/2025','7:30 PM','7241618','Adam-Sandler-9-10-2025'],['The 85 South Show','Colonial Life Arena','Columbia, SC','Saturday','9/20/2025','8:00 PM','7171497','The-85-South-Show-9-20-2025'],['Maxwell','Colonial Life Arena','Columbia, SC','Saturday','10/4/2025','8:00 PM','7057897','Maxwell-10-4-2025'],['NBA YoungBoy','Colonial Life Arena','Columbia, SC','Wednesday','10/8/2025','7:30 PM','7160681','NBA-YoungBoy-10-8-2025'],['NBA YoungBoy','Colonial Life Arena','Columbia, SC','Thursday','10/9/2025','7:30 PM','7170696','NBA-YoungBoy-10-9-2025'],['Paw Patrol Live','Colonial Life Arena','Columbia, SC','Saturday','10/11/2025','10:00 AM','7047215','Paw-Patrol-Live-10-11-2025'],['Paw Patrol Live','Colonial Life Arena','Columbia, SC','Saturday','10/11/2025','2:00 PM','7047216','Paw-Patrol-Live-10-11-2025'],['Paw Patrol Live','Colonial Life Arena','Columbia, SC','Sunday','10/12/2025','2:00 PM','7047217','Paw-Patrol-Live-10-12-2025'],['Brandon Lake','Colonial Life Arena','Columbia, SC','Sunday','10/19/2025','7:00 PM','7077520','Brandon-Lake-10-19-2025'],['Jonas Brothers','Colonial Life Arena','Columbia, SC','Thursday','11/6/2025','7:30 PM','7056811','Jonas-Brothers-11-6-2025'],['Brandy, Monica, Kelly Rowland & Muni Long','Colonial Life Arena','Columbia, SC','Friday','11/14/2025','8:00 PM','7235604','Brandy--Monica--Kelly-Rowland---Muni-Long-11-14-2025'],['South Carolina Gamecocks vs. Virginia Tech Hokies','Colonial Life Arena','Columbia, SC','Tuesday','12/2/2025','TBD','7212268','South-Carolina-Gamecocks-vs--Virginia-Tech-Hokies-12-2-2025']],'Colonial Life Arena','http://www.ticketnetwork.com/ticket/Colonial-Life-Arena-events.aspx');